/**
 * Created with IntelliJ IDEA.
 * User: 维他柠檬猹
 * Date: 2018/2/9 15:35
 * Project: Management
 * Package:
 */

function chartJsSvc($http) {
    $http.post("/getDatas").then(function (response) {
        console.log(response.data);
    });
}

angular
    .module('inspinia')
    .service('chartJsSvc', chartJsSvc)